package com.lottery.material;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;


/**
 * description：项目应用主类（SpringBoot入口类）
 * user 朱正磊
 * time 2019-03-25 17:08
 */
@Slf4j
@EnableCaching
@EnableScheduling
@SpringBootApplication
@EnableTransactionManagement
public class MaterialApplication {

    /**
     * description：入口方法
     * user 朱正磊
     * time 2019-03-25 17:09
     */
	public static void main(String[] args) throws Exception {
        SpringApplication.run(MaterialApplication.class, args);
        log.info("【SpringBoot 启动成功！】");
	}

}
